home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming a Multiplayer FPS in DirectX
/
Programming a Multiplayer FPS in DirectX (Companion CD).iso
/
DirectX
/
dxsdk_oct2004.exe
/
dxsdk.exe
/
Utilities
/
MView
/
skin.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2004-09-27
|
483 b
|
28 lines
#pragma once
class CBone
{
public:
CBone* next;
char* boneName;
DWORD numWeights;
D3DXMATRIX offsetMat;
DWORD* vertIndices;
float* weights;
};
typedef CBone *LPBONE;
LPBONE CreateBone(char* name, DWORD numWeights);
class CSkinMesh
{
public:
LPD3DXMESH m_pMesh;
LPBONE m_pBoneList;
DWORD* m_faceMatId;
float* m_vertWeight;
void ProcessSkinData(LPDIRECT3DDEVICE9 pD3DDevice);
};
typedef CSkinMesh *LPSKINMESH;